home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / gem / l_0799 / 578 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.2 KB

  1. Subject: Re: Ofir's digest 13.06 
  2. Date: Mon, 20 Jun 1994 09:50:13 +1000
  3. From: Warwick Allison <warwick@cs.uq.oz.au>
  4. Precedence: bulk
  5.  
  6. Michael Nolte wrote:
  7.  
  8. >Warwick Allison:
  9. >>Scrap the whole concept of an `Abandon' option.  It makes more sense to
  10. >>just provide a Close option that gives `Cancel | Abandon | Save' options.
  11. >No. If I tell my machine "Close a window" I expect it to ask me, ...
  12. >... But throwing away changes and reloading the original contents of the
  13. >window has nothing to do with closing a window..
  14.  
  15. Misunderstanding.  I meant:
  16.  
  17.     CloseWindow =
  18.         if (changed) {
  19.             switch (ask_user) {
  20.              case Cancel:
  21.                 do nothing
  22.             break; case Abandon:
  23.                 close
  24.             break; case Save:
  25.                 save, close
  26.             }
  27.         } else {
  28.             close
  29.         }
  30.  
  31. I really meant SCRAP the idea of an `Abandon' which means:
  32.  
  33.         close, reload.
  34.  
  35. Since this should at the very least be:
  36.  
  37.     AbandonWindow =
  38.         if (changed) {
  39.             switch (ask_user) {
  40.              case Cancel:
  41.                 do nothing
  42.             break; case Abandon:
  43.                 close, reload
  44.             }
  45.         } else {
  46.             close, reload
  47.         }
  48.  
  49. ie. almost the same as above, except reloading the document.  This is such
  50. an infrequently used option, it is only going to confuse the user, who has
  51. been using dozens of programs for which `Abandon' means `close without
  52. saving changes'.
  53.  
  54.  
  55. --
  56. Warwick
  57.